package com.example.tkserver.service.interfaces;

import com.example.tkserver.entity.Answer;
import com.example.tkserver.entity.Question;

import java.util.List;


public interface QuestionService {
    public Question getQuestion(int qid);

    public int getQuestionNum();

    public List<Question> getNewQuestionList(int start,int end);

    public int getHotQuestionNum();

    public List<Question> getHotQuestionList(int start,int end);

    public int getWaitQuestionNum();

    public List<Question> getWaitQuestionList(int start,int end);

    public Answer publishQuestion(Question question);
}
